﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebBanThuoc.DTO
{
    public class TinTuc
    {
        private int iDTinTuc;
        private string tenTinTuc;
        private string anhNho;
        private string noiDungSoLuoc;
        private string noiDung;
        private DateTime ngayDang;
        private int soLuotXem;
        private int maDanhMuc;
        private string noiDungGuiEmail;
        private string userName;

        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public string NoiDungGuiEmail
        {
            get { return noiDungGuiEmail; }
            set { noiDungGuiEmail = value; }
        }

        public int MaDanhMuc
        {
            get { return maDanhMuc; }
            set { maDanhMuc = value; }
        }

        public int SoLuotXem
        {
            get { return soLuotXem; }
            set { soLuotXem = value; }
        }

        public DateTime NgayDang
        {
            get { return ngayDang; }
            set { ngayDang = value; }
        }

        public string NoiDung
        {
            get { return noiDung; }
            set { noiDung = value; }
        }

        public string NoiDungSoLuoc
        {
            get { return noiDungSoLuoc; }
            set { noiDungSoLuoc = value; }
        }

        public string AnhNho
        {
            get { return anhNho; }
            set { anhNho = value; }
        }

        public string TenTinTuc
        {
            get { return tenTinTuc; }
            set { tenTinTuc = value; }
        }

        public int IDTinTuc
        {
            get { return iDTinTuc; }
            set { iDTinTuc = value; }
        }
    }
}